<?php
/** Site homepage.
*
* Includes a sample controller.
* @package Rho
* @subpackage Rho-app
* @filesource */

/** Load the core library */
require_once '../rho/core.inc.php';

/** Sample Controller for the site homepage.
* @package Rho
* @subpackage Rho-app */
class Home_Controller extends Rho_HTML_Controller{

  public $title='Home';
  public $description='Homepage';

  /** Displays 'Hello World'.
  * You should edit this method so it displays the site's homepage.*/
  public function index(){
    $this->loadHeader();
    echo 'Hello World';
    $this->loadFooter();
    echo 'Memory Peak: '.(round(memory_get_peak_usage(TRUE)/1024, 2))." Kb<br />\n";
  }

}

Rho::init('Home');